
<table>
	<tr align="center">
		<th>序号</th>
		<th>流水号</th>
		<th>业务员</th>
		<th>客户</th>
		<th>事由</th>
		<th>类型</th>
		<th>明细</th>
		<th>币种</th>		
		<th>金额</th>
		<th>人民币</th>
		<th>美金</th>
		<th>填单日期</th>
		
		<th>备注</th>
		<th>录入员</th>
		<th>状态</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]} 
	{[assign var="no" value="`$key+1`"]}
	{[assign var="t1" value="`$t1+$item.amount`"]}
	{[assign var="t2" value="`$t2+$item.rmb`"]}
	{[assign var="t3" value="`$t3+$item.usd`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor='#FFFFFF'">
		<td>{[$no]}</td>
		<td><a href="javascript:void(0)"
			onclick="Common.dialog_view_('{[$root]}{[$viewLink]}&id={[$item.id]}', '收入信息', '700x450')">{[$item.id]}</a></td>
		<td><a href="javascript:void(0)" onclick="emp('{[$item.emp]}')">{[$item.emp_t]}</a></td>
		<td><a href="javascript:void(0)"
			onclick="Common.dialog_view_('contact.php?do=FinanceCustomer.view&id={[$item.customer]}', '客户信息', '650x420')">{[$item.customer_t]}</a></td>
		<td>{[$item.name|truncate:21:"...":true]}</td>
		<td>{[$item.type_t]}</td>
		<td>{[$item.num_]}</td>

		<td>{[$item.currency_t]}</td>
		<td>{[$item.amount|money]}</td>
		<td>{[$item.rmb|money]}</td>
		
		<td>{[$item.usd|money]}</td>
		<td>{[$item.date]}</td>		
		<td>{[$item.content|truncate:21:"...":true]}</td>		
		<td><a href="javascript:void(0)" onclick="emp('{[$item.oper]}')">{[$item.oper_t]}</a></td>

		<td>{[$item.status_t]}</td>
	</tr>
	{[/foreach]}
	<tr align="center">
		<td colspan="8"></td>
		<td>{[$t1|money]}</td>
		<td>{[$t2|money]}</td>
		<td>{[$t3|money]}</td>
		<td colspan="4"></td>
	</tr>
</table>
